/**
 * Created with IntelliJ IDEA.
 * User: 12629
 * Date: 2022/2/20
 * Time: 16:51
 * Description:
 */
public class Test {
    public static void main(String[] args) {
        Animal animal = new Animal();
        //animal.name = "旺财！";
        animal.setMyName("旺财！");
        animal.eat();
        System.out.println(animal.getMyName());
    }
}
